<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>

    <style>
        /* p {
            color: red;
        } */
        /* 后代选择器: 选择器1  选择器2{css} */

        .father p {
            color: red;
        }
    </style>

<body>
<!-- 需求:只让小姐姐变红 而不改变html结构 -->
<!-- 解决:在.father这个div的后代中找到p标签 -->
<div class="father">
    <p>小姐姐</p>
    <h1>大标题</h1>
    <div>
        <p>小哥哥</p>
    </div>
</div>
<p>小可爱</p>
</body>

</html>